﻿using B.T.BasicData.Domain.RBAC;
using Microsoft.EntityFrameworkCore;

namespace B.T.BasicData.Infraeturcture
{
    public class MyDbContext : DbContext
    {
        public MyDbContext(DbContextOptions options) : base(options)
        {
        }

        public DbSet<Userinfo> userinfos { get; set; }
        public DbSet<RolesInfo> rolesInfos { get; set; }
        public DbSet<Role_Permission> role_Permissions { get; set; }
        public DbSet<User_Role> user_Roles { get; set; }
        public DbSet<Permissions> Permissions { get; set; }
    }
}
